package enums;

/**
 * @ClassName: enums.HospitalExceptionEnums
 * @Description: TODO
 * @Create by: syq
 * @Date: 2022/7/20 21:14
 */


public enum HospitalExceptionEnums {

    USERNAME_PASSWORD_ERROR(666,"用户名密码错误"),
    REQUEST_PARAMETER_ERROR(400,"请求参数异常");

    private Integer code;

    private String msg;

    HospitalExceptionEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
